import request from '@/utils/request'

// 查询新增学生列表
export function listAddstudent(query) {
  return request({
    url: '/gxs/addstudent/list',
    method: 'get',
    params: query
  })
}

// 查询新增学生详细
export function getAddstudent(gxsId) {
  return request({
    url: '/gxs/addstudent/' + gxsId,
    method: 'get'
  })
}

// 新增新增学生
export function addAddstudent(data) {
  return request({
    url: '/gxs/addstudent',
    method: 'post',
    data: data
  })
}

// 修改新增学生
export function updateAddstudent(data) {
  return request({
    url: '/gxs/addstudent',
    method: 'put',
    data: data
  })
}

// 删除新增学生
export function delAddstudent(gxsId) {
  return request({
    url: '/gxs/addstudent/' + gxsId,
    method: 'delete'
  })
}
